<div class="container">
    <div class="row">
        <div class="col-md-6 col-md-offset-3">
            <form>
                <div class="form-group">
                    <label for="username">用户名</label>
                    <input type="text" class="form-control" id="username" placeholder="用户名"
                           ng-model="user.username">
                </div>
                <div class="form-group">
                    <label for="cname">姓名</label>
                    <input type="text" class="form-control" id="cname" placeholder="姓名"
                           ng-model="user.cname">
                </div>
                <div class="form-group">
                    <label for="email">电子邮件</label>
                    <input type="text" class="form-control" id="email" placeholder="电子邮件"
                           ng-model="user.email">
                </div>
                <div class="form-group">
                    <label for="telephone">联系电话</label>
                    <input type="text" class="form-control" id="telephone" placeholder="联系电话"
                           ng-model="user.tel">
                </div>

                <button type="submit" class="btn btn-primary" href="#userlist" aria-controls="userlist" role="tab" data-toggle="tab"
                        ng-click="save()" mt-tab>保存</button>
                &nbsp;
                <a class="btn btn-default" href="#userlist" aria-controls="userlist" role="tab" data-toggle="tab">取消</a>
            </form>
        </div>
    </div>
</div>
